미니PC 웹 배포 스크립트 추가#19
Conversation
|
Warning Review limit reached
More reviews will be available in 19 minutes and 7 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
승인된 내용
사용자가 추천 작업 순서대로 진행하도록 요청했고, 첫 작업으로 미니PC 웹 배포 절차를 스크립트화했습니다.
변경 사항
scripts/deploy/mini-pc-web.sh를 추가해 Next.js static export 빌드, mini PC rsync 동기화, 공개 엔드포인트 스모크 체크를 한 번에 실행하도록 했습니다.https://techcase.dadamda.site,home-2,/home/godhkekf24/apps/techcase/current/apps/web/out으로 설정했습니다.NEXT_PUBLIC_API_BASE_URL이localhost또는127.0.0.1이면 배포를 중단하도록 했습니다.docs/mini-pc-web-deploy.md를 추가하고 README, 개발 계획, 개발 로그에 관련 문서를 연결했습니다.의도적으로 제외한 것
rsync --dry-run까지만 검증했습니다.검증
bash -n scripts/deploy/mini-pc-web.shscripts/deploy/mini-pc-web.sh --helpNEXT_PUBLIC_API_BASE_URL=http://localhost:8000 scripts/deploy/mini-pc-web.sh --dry-run --skip-build --skip-smoke-> 로컬 API URL 차단 확인scripts/deploy/mini-pc-web.sh --dry-run --skip-smoke-> 운영 API URL로 웹 빌드 성공, 원격 rsync dry-run 성공scripts/deploy/mini-pc-web.sh --smoke-only-> 운영/,/health,/api/search,/api/suggest스모크 체크 성공사람이 확인할 방법
scripts/deploy/mini-pc-web.sh --dry-run --skip-smoke로 빌드와 원격 dry-run을 확인합니다.scripts/deploy/mini-pc-web.sh --smoke-only로 운영 엔드포인트를 확인합니다.scripts/deploy/mini-pc-web.sh를 실행합니다.